<?
error_reporting(E_ALL);
session_start();
header('Content-type: text/html; charset=UTF-8'); 
try{
  include dirname(__FILE__)."/lib/config.php";
  $controller = new Controller();
  $controller->__exec();
}catch(Exception $e){
    Controller::displayErrorPage($e);
}
?>